#ifndef SCHEDULE_H
#define SCHEDULE_H

#include "sc95f.h"
#include "../FWLib/SC95F_Lib/inc/sc95f_gpio.h"
extern uint8_t TimeBaseCounter;
extern uint8_t OldTimeBaseCounter;
#define mTimeBaseCountIsUndue()		OldTimeBaseCounter != TimeBaseCounter
#define setTimeBaseOldCount()		OldTimeBaseCounter = TimeBaseCounter 
#define TBaseCount()	TimeBaseCounter++;

extern void (*ScheduleWorkOption[9])(void);
extern uint8_t code tTimeBaseTable[256];
//extern void scan_key(void);
void Schedule_init(void);
void Schedule_flag(void);
#endif